<?php
namespace API\Controller;
use Think\Controller;
class enrolserviceController extends Controller {
  public function ae(){
    	$condition['activity_enrol']='thinkphp';
    	$condition['activity_id']='1';
    	$aeModel=M('activity_enrol'); //实例化模型对象
	   	$activityenrol=$aeModel->where($condition)->select(); //查询
       /*$data['status']  = 1;
$data['content'] = 'content';*/
   /*arrayRecursive($videos, 'urlencode', true);
    $json = json_encode($videos);*/
   echo json_encode($club);
/*$this->json_encode($videos);*/
/*$this->display();*/
/*$this->json_encode($videos);
$this->display()*/;
    }
}